package com.example.jpa1.dao;

import com.example.jpa1.pojo.Desk;

import java.util.List;

public interface DeskDao {
    Desk save(Desk desk);

    List<Desk> list();

    Desk edit(Desk desk);

    void deleteById(Long id);
}
